import {removeToken} from "@/utils/auth";
import Config from "@/settings";
import router from "@/router";

export function logout(){
    removeToken(Config.TokenKey)
    router.replace({path: '/login'}).then(r => {})
}
